package com.rms.recruit_management_system.service.impl;


import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rms.recruit_management_system.mapper.InterviewFeedbackMapper;
import com.rms.recruit_management_system.mapper.InterviewFeedbackVoMapper;
import com.rms.recruit_management_system.pojo.InterviewFeedback;
import com.rms.recruit_management_system.service.InterviewFeedbackService;
import com.rms.recruit_management_system.vo.InterviewFeedbackVo;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InterviewFeedbackServiceImpl extends ServiceImpl<InterviewFeedbackMapper, InterviewFeedback> implements InterviewFeedbackService {

    @Autowired
    private InterviewFeedbackMapper interviewFeedbackMapper;

    /**
     * 添加面试反馈记录
     * @param interviewFeedback
     */
    @Override
    public void addInterviewFeedback(InterviewFeedback interviewFeedback) {
        interviewFeedbackMapper.insert(interviewFeedback);
    }

    /**
     * 删除面试反馈记录
     * @param id
     */
    @Override
    public void deleteInterviewFeedback(Integer id) {
        interviewFeedbackMapper.deleteById(id);
    }

}


